package com.dupf.product.common.constant;

import com.dupf.common.base.BaseConstants;
import com.dupf.common.util.PropertyManager;

/**
 * product系统常量类
 * Created by dupf on 2018/3/1.
 */
public class ProductConstant extends BaseConstants {

    public static final String QINIU_ACCESS_KEY = PropertyManager.getString("upload.qiniu.accesskey");
    public static final String QINIU_SECRET_KEY = PropertyManager.getString("upload.qiniu.secretkey");
    public static final Long QINIU_TOKEN_EXPIRES = PropertyManager.getLong("upload.qiniu.token.expires");

    public static final String QINIU_BUCKET_FILE = PropertyManager.getString("upload.qiniu.bucket.file");
    public static final String QINIU_BUCKET_PICTURE = PropertyManager.getString("upload.qiniu.bucket.picture");
    public static final String QINIU_BUCKET_AUDIO = PropertyManager.getString("upload.qiniu.bucket.audio");
    public static final String QINIU_BUCKET_VIDEO = PropertyManager.getString("upload.qiniu.bucket.video");

    public static final String QINIU_BUCKET_PICTURE_DOMAIN = PropertyManager
            .getString("upload.qiniu.bucket.picture.domain");
    public static final String QINIU_BUCKET_AUDIO_DOMAIN = PropertyManager
            .getString("upload.qiniu.bucket.audio.domain");
    public static final String QINIU_BUCKET_VIDEO_DOMAIN = PropertyManager
            .getString("upload.qiniu.bucket.video.domain");
    public static final String QINIU_BUCKET_NORMAL_DOMAIN = PropertyManager
            .getString("upload.qiniu.bucket.normal.domain");

    public static final String AMAZON_TEMPLATE_BASE_PATH = PropertyManager
            .getString("amazon.template.base.path");

    public static final String UPLOAD_REDIS_PREFIX = PropertyManager.getString("upload.redis.prefix");
    public static final int UPLOAD_REDIS_EXPIRE = PropertyManager.getInt("upload.redis.expire");

    public static final String VARIANT_ORG_USER_LIST_REDIS_PREFIX = PropertyManager.getString("variant.org.user.list.redis.prefix");
    public static final int VARIANT_ORG_USER_LIST_REDIS_EXPIRE = PropertyManager.getInt("variant.org.user.list.redis.expire");



    public static final String TAOBAO_ACCOUNT = PropertyManager.getString("taobao.account");

}
